<?php
namespace Admin\Model;
class RoleModel extends AdminBaseModel {
    protected $tableName = 'admin_role';
    public function getAllRoles(){
        return $this->where('status =1')->getField('id,role_name',true);
    }

}